Сейчас вы будете перенаправлены на сайт:
https://devhubby.com/thread/how-to-register-middlewares-in-the-octobercms-plugin